import { get, post } from "@/util/api/index.js"

/**
 * 查找全部
 * @returns {Promise<AxiosResponse<T>>}
 */
export const getArticleAll = (param) => {
    return get("/article/getArticleAll", param);
};

/**
 * 根据id查找
 * @returns {Promise<AxiosResponse<T>>}
 */
export const selectById = (param) => {
    return get("/article/getArticleById", param);
};